//
//  HeaderReusableView.m
//  meiyaya
//
//  Created by 张领瑞 on 2017/9/2.
//  Copyright © 2017年 ShiFeiEr. All rights reserved.
//

#import "HeaderReusableView.h"

@interface HeaderReusableView ()
@property (weak, nonatomic) IBOutlet UIView *contentView;


@end


@implementation HeaderReusableView

- (void)awakeFromNib {
    [super awakeFromNib];
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapMoreAction:)];
    [self.contentView addGestureRecognizer:tap];
    // Initialization code
}
- (void)tapMoreAction:(UIButton*)sender {
    if (self.delegate && [self.delegate respondsToSelector:@selector(rightMoreBtn:)]) {
        [self.delegate rightMoreBtn:self.rightMoreBtn];
    }
}

@end
